# Maintainer: Maxime Gauduin <alucryd@archlinux.org>

pkgname=pantheon-dpms-helper
pkgver=1.0
pkgrel=2
pkgdesc='DPMS helper for Pantheon'
arch=(any)
url=https://github.com/elementary/dpms-helper
license=(GPL)
groups=(pantheon)
depends=(
  bash
  dconf
  desktop-file-utils
)
makedepends=(
  git
  meson
)
source=(pantheon-dpms-helper::git+https://github.com/elementary/dpms-helper.git#tag=${pkgver})
sha256sums=(SKIP)

build() {
  arch-meson pantheon-dpms-helper build
  ninja -C build
}

package() {
  DESTDIR="${pkgdir}" ninja -C build install
}

# vim: ts=2 sw=2 et:
